import vue from '@vitejs/plugin-vue'

import createAutoImport from './auto-import'
import createVueComponents from './vue-components'

export default function createVitePlugins() {
	const vitePlugins = [
		vue()
	]

	vitePlugins.push(createAutoImport())
	vitePlugins.push(createVueComponents())

	return vitePlugins
}